//
// Created by guoshunw on 1/28/2021.
//

#ifndef G711CODEC_REFERENCE_H
#define G711CODEC_REFERENCE_H

#include <cstdint>
uint8_t linear2alaw(int16_t pcm_val);
int16_t alaw2linear(uint8_t a_val);

int16_t ulaw2linear(uint8_t u_val);
uint8_t linear2ulaw1(int16_t pcm_val);
int linear2ulaw( int	pcm_val);

class Reference {

};


#endif //G711CODEC_REFERENCE_H
